/* 
 * File:   cmdline.h
 * Author: landry
 *
 * Created on 13 octobre 2009, 18:14
 */
 
 
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>

#ifndef _CMDLINE_H
#define	_CMDLINE_H

//#include "globalVariables.h"

//extern "C++" int arret;


    void usageProg(char *program_name, int status);
    int parse_args(int argc, char *argv[], char* _r_host,u_short *_l_port, char* _input_f, char* _format,int *check_input,int *nb_copies,double*lost,int *delay,int*rand);
    
    int _parse(int argc, char *argv[],u_short *_l_port,char *format);


#endif	/* _CMDLINE_H */

